
const {ccclass, property} = cc._decorator;

@ccclass
export default class game extends cc.Component {
    // LIFE-CYCLE CALLBACKS:

    onLoad () {
        // getPhysicsManager物理管理器
        cc.director.getPhysicsManager().enabled = true;

        cc.director.getPhysicsManager().debugDrawFlags = 1;

        // 显示攻击范围
        cc.director.getCollisionManager().enabled = true;
        cc.director.getCollisionManager().enabledDebugDraw = true;
    }

    start () {
        
    }

    // update (dt) {}
}
